package cn.com.utt.unms.service;


import java.io.File;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import cn.com.utt.common.vo.RestResult;
import cn.com.utt.common.vo.TableInput;
import cn.com.utt.common.vo.TableOutput;
import cn.com.utt.unms.pojo.PageList;
import cn.com.utt.unms.vo.ImageUploadInfo;

public interface AuthPageService {
	TableOutput<PageList> queryAuthPageList(TableInput input,Long userId);
	void copyFile(File source, File target);
	RestResult delAuthPages(List<Long> pageIds,Long userId);
	RestResult loadUserDefinedPage(Long pageId,Long userId);
	
	RestResult uploadImage(MultipartFile multipartfile,String type);
	RestResult addUDImage(ImageUploadInfo imageUploadInfo,Long userId);
	RestResult savePage(Long mainId,String loginContent, String successContent,String pcLoginContent,String pcSuccessContent,int type,String action,String pageTitle,String pageName,Long userId);
	
	List<PageList> queryAll(Long userId);

}
